package com.isdepci.project.reference.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.isdepci.project.reference.mapper.WasteEfsMapper;
import com.isdepci.project.reference.domain.WasteEfs;
import com.isdepci.project.reference.service.IWasteEfsService;

/**
 * 废弃EFsService业务层处理
 *
 * @author isdepci
 * @date 2023-08-22
 */
@Service
public class WasteEfsServiceImpl implements IWasteEfsService
{
    @Autowired
    private WasteEfsMapper wasteEfsMapper;

    /**
     * 查询废弃EFs
     */
    @Override
    public WasteEfs selectWasteEfsById(Long id)
    {
        return wasteEfsMapper.selectWasteEfsById(id);
    }

    /**
     * 查询废弃EFs列表
     */
    @Override
    public List<WasteEfs> selectWasteEfsList(WasteEfs wasteEfs)
    {
        return wasteEfsMapper.selectWasteEfsList(wasteEfs);
    }

    /**
     * 新增废弃EFs
     */
    @Override
    public int insertWasteEfs(WasteEfs wasteEfs)
    {
        return wasteEfsMapper.insertWasteEfs(wasteEfs);
    }

    /**
     * 修改废弃EFs
     */
    @Override
    public int updateWasteEfs(WasteEfs wasteEfs)
    {
        return wasteEfsMapper.updateWasteEfs(wasteEfs);
    }

    /**
     * 批量删除废弃EFs
     */
    @Override
    public int deleteWasteEfsByIds(Long[] ids)
    {
        return wasteEfsMapper.deleteWasteEfsByIds(ids);
    }

    /**
     * 删除废弃EFs信息
     */
    @Override
    public int deleteWasteEfsById(Long id)
    {
        return wasteEfsMapper.deleteWasteEfsById(id);
    }
}
